package com.lleice.service.dto;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnore;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 
 * @author lizihao
 *
 */
@Getter
@Setter
@Accessors(chain = true)
@ApiModel("资源树结构")
public class ResouceTreeDto implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 8211242683349429143L;
	
	@ApiModelProperty(value = "资源id")
	private String id;
	
	@ApiModelProperty(value = "资源名称")
	private String resourceName;
	
	@ApiModelProperty(value = "父资源id")
    private String parentId;
	
    @ApiModelProperty(value = "排序")
    @JsonIgnore
    private Integer sortNum;
    
    @ApiModelProperty(value = "1则表示这个用户拥有这个节点,0则表示没有")
    private Integer isShow;

}
